package com.programming.consumption.dao;

import java.util.List;

import com.programming.common.exception.DAOException;
import com.programming.common.page.Page;
import com.programming.consumption.dataobject.ComplaintsMessage;
import com.programming.consumption.query.ComplaintsMessageQuery;

public interface ComplaintsMessageDAO {
	public void insert(ComplaintsMessage complaintsMessage) throws DAOException;

	public void update(ComplaintsMessage complaintsMessage) throws DAOException;

	public ComplaintsMessage getById(Long id) throws DAOException;

	public List<ComplaintsMessage> queryList(ComplaintsMessageQuery query)
			throws DAOException;

	public Page queryPage(ComplaintsMessageQuery query) throws DAOException;

	public void delete(Long id) throws DAOException;

}
